package com.letoken.platform.repo.app.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.letoken.platform.repo.admin.req.user.QueryAccelerateListReq;
import com.letoken.platform.repo.admin.res.user.QueryAccelerateCountRes;
import com.letoken.platform.repo.admin.res.user.QueryAccelerateListRes;
import com.letoken.platform.repo.app.po.AppUserIssueHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.letoken.platform.repo.app.res.config.QueryLetokenHistoryRes;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Le账户-铸币发行,流通,奖励日志 Mapper 接口
 * </p>
 *
 * @author 作者
 * @since 2023-01-06
 */
public interface AppUserIssueHistoryMapper extends BaseMapper<AppUserIssueHistory> {

    Page<QueryLetokenHistoryRes> queryLetokenHistoryPage(@Param("page") Page<QueryLetokenHistoryRes> page, @Param("userId") Integer userId);

    Page<QueryAccelerateListRes> queryAccelerateList(@Param("page") Page<QueryAccelerateListRes> page, @Param("req") QueryAccelerateListReq req);

    QueryAccelerateCountRes queryAccelerateCount();
}
